import { rule } from "@/util/validateRules";
export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  searchMenuSpan: 6,
  editBtn: false,
  delBtn: false,
  align: 'center',
  addBtn: false,
  viewBtn: false,
  labelWidth:120,
  menuWidth:280,
  column: [{
    label: '用户Id',
    prop: 'a',
    span: 24,
    rules: [
      { required: true, message: '用户Id为空', trigger: 'blur' }
    ]
  }, {
    label: '运费类型',
    prop: 'b',
    span: 24,
    rules: [
      { required: true, message: '运费类型不能为空', trigger: 'blur' }
    ]
  }, {
    label: '运费模板名称',
    prop: 'c',
    span: 24,
    rules: [
      { required: true, message: '运费模板名称不能为空', trigger: 'blur' }
    ]
  },{
    label: '运费设置时间',
    prop: 'd',
    span: 24,
    rules: [
      { required: true, message: '运费设置时间不能为空', trigger: 'blur' }
    ]
  }]
}
